﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Vote.aspx.cs" Inherits="CMS_Admin_block_Vote" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="x-ua-compatible" content="ie=7" />

    <title></title>
    <style>
        .tb td
        {
            border: #fff solid 1px;
            font-size: 13px;
        }
        .paginator
        {
            font: 11px Arial, Helvetica, sans-serif;
            padding: 10px 20px 10px 0;
            margin: 0px;
            width: 650px;
        }
        .paginator a
        {
            padding: 1px 6px;
            border: solid 1px #ddd;
            background: #fff;
            text-decoration: none;
            margin-right: 2px;
        }
        .paginator a:visited
        {
            padding: 1px 6px;
            border: solid 1px #ddd;
            background: #fff;
            text-decoration: none;
        }
        .paginator .cpb
        {
            padding: 1px 6px;
            font-weight: bold;
            font-size: 13px;
            border: none;
        }
        .paginator a:hover
        {
            color: #fff;
            background: #ffa501;
            border-color: #ffa501;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="NewVote" runat="server" Text="发起新投票" />
    </div>
    <br />
    <div style="border: solid 2px #b7ddf2; background: #ebf4fb; padding: 10px;" runat="server"
        id="DivContent">
        <asp:Repeater ID="RptList" runat="server" OnItemDataBound="RptList_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="0" cellpadding="5" width="100%" border="0" class="tb">
                    <tr bgcolor="#cee6ff">
                        <td style="width: 10%">
                            查看
                        </td>
                        <td style="width: 10%">
                            编号
                        </td>
                        <td style="width: 40%">
                            名称
                        </td>
                        <td style="width: 20%">
                            状态
                        </td>
                        <td style="width: 10%">
                            统计
                        </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:LinkButton ID="link" runat="server">查看明细</asp:LinkButton>
                    </td>
                    <td>
                        <%#DataBinder.Eval(Container.DataItem, "c_id")%>
                    </td>
                    <td>
                        <%#DataBinder.Eval(Container.DataItem, "c_value")%>
                    </td>
                    <td style="color: Red">
                        <asp:Literal ID="litStatus" runat="server"></asp:Literal>
                    </td>
                    <td>
                        <asp:ImageButton ID="imglink" runat="server" ImageUrl="~/CMS/Admin/Image/count.gif" />
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
